from sqlalchemy import Column, String, Integer
from DataBase.DataBaseConnect import DBConnect

class BasicInfo(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'action_info'
    id = Column(Integer,primary_key=True)
    action_no = Column(String(10),nullable=False,index=True)
    action_name = Column(String(10),nullable=False,index=True)